package com.j2eefast.produce.pms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 检验录入
 * pms_test_enter
 * @author: summer
 * @date 2021-05-29 10:28
 */
@Data
@TableName("pms_test_enter")
public class PmsTestEntity extends BaseEntity{

    /** 主键 */
    @TableId(value = "id",type = IdType.INPUT)
    private Long id;

    /**名称*/
    @TableField(value = "test_name")
    private String testName;

    /**父类*/
    @TableField(value = "parent_id")
    private Long parentId;

    @TableField(exist = false)
    private String parentName;

    /** 检验编号 */
    @TableField(value = "test_code")
    private String testCode;
    /** 批量 */
    @TableField(value = "batch")
    private String batch;

    /** 执行标准 */
    @TableField(value = "executive_standard")
    private String executiveStandard;
    /** 种类 */
    @TableField(value = "type")
    private String type;
    /** 规格 */
    @TableField(value = "specs")
    private String specs;
    /** 直径 */
    @TableField(value = "level")
    private String level;
    /** 检验类型 */
    @TableField(value = "test_type")
    private String testType;
    /** 收费项目 */
    @TableField(value = "charge_project")
    private String chargeProject;
    /** 取样数量 */
    @TableField(value = "quantity")
    private String quantity;
    /** 产地 */
    @TableField(value = "producer")
    private String producer;

    /** 使用部位 */
    @TableField(value = "part_used")
    private String partUsed;
    /** 样品描述 */
    @TableField(value = "sample_description")
    private String sampleDescription;
    /** 说明 */
    @TableField(value = "explains")
    private String explains;
    /** 描述1 */
    @TableField(value = "describes")
    private String describes;
    /** 补充 */
    @TableField(value = "supply")
    private String supply;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    private Date updateTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    private Date createTime;
    /** 创建人 */
    @TableField(value = "create_by")
    private String createBy;

    /** 更新人 */
    @TableField(value = "update_by")
    private String updateBy;

    /** 备注 */
    @TableField(value = "remark")
    private String remark;
















}
